{% extends 'TopxiaAdminBundle::layout.html.twig' %}

{% set nav = 'app' %}

{% block content %}
  <div class="col-md-2">
    {% block sidebar %}

      <div class="panel panel-default">
        <div class="panel-heading">会员专区</div>
        <div class="list-group">
          <a href="{{ url('admin_vip_list') }}" class="list-group-item {% if menu == 'member' %}active{% endif %}">会员管理</a>
          <a href="{{ url('admin_vip_order') }}" class="list-group-item {% if menu == 'order' %}active{% endif %}">会员订单管理</a>
          <a href="{{ url('admin_vip_bought_list') }}" class="list-group-item {% if menu == 'member_history' %}active{% endif %}">会员操作记录</a>
          <a href="{{ url('admin_vip_level') }}" class="list-group-item {% if menu == 'memberlevel' %}active{% endif %}" >会员等级设置</a>
          <a href="{{ url('admin_vip_setting') }}" class="list-group-item {% if menu == 'setting' %}active{% endif %}" >会员专区设置</a>
          <a href="{{ path('vip') }}" class="list-group-item" target="_blank"><span class="text-info">会员专区首页</span></a>
        </div>
      </div>

    {% endblock %}
  </div>
  <div class="col-md-10">
      {% block main %}{% endblock %}
  </div>
{% endblock %}